package com.lxy.equipment.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("completed_repair")
public class CompleteRepair implements Serializable {
    private static final long serialVersionUID = 1L;

    //id
    private Long id;

    //设备id
    private Long equipmentId;

    //维修人员id
    private Long userId;

    //维修订单id
    private Long repairId;

    //维修订单创建时间(不是完成维修订单创建时间)
    private LocalDateTime createTime;

    //维修订单完成时间
    private LocalDateTime completeTime;

    //维修情况、故障原因等
    private String remark;

    //处理结果（0：维修失败 1：正常运行）
    private Integer status;

}
